1) Change the default java compiler from ant to javac
2) Add commando files for gcc, g++, and a generic "run executable" (to run c and c++
files)
Having ant as the default compiler for java has never made sense to me; ant is used
to build projects, not compile individual buffers. And gcc and g++ are common compilers
that I believe should be included, as well as a commando to run an executable with
the same name as the buffer minus the extension. This would make programming in c
and c++ in jEdit much more accessible.
| Submitted | kog13 - 2010-02-16 01:01:41 | Assigned | kog13 |
|---|---|---|---|
| Priority | 5 | Labels | |
| Status | open | Group | None |
| Resolution | None |
| 2010-02-16 01:19:13 ezust |
1. I never use javac or gcc directly, i only use "ant" and "make", since there was
no "build project" action for console. Changing the default for the language was just
my own preference, I am sorry if it has caused inconvenience.
|
|---|---|
| 2010-02-16 03:02:31 daleanson |
I'd vote for leaving Ant as the default also. I don't think I have a single java project that doesn't have an Ant build file. Ant is good at only compiling those classes that are necessary to compile. |
| 2010-02-16 04:44:46 kog13 |
My complaint about Ant is that it requires a buildfile that you have to supply yourself,
and I personally make a large distinction between "compile buffer" and "build project",
which is part of my motivation for working on Project Builder. I also think the compile
and run buffer actions should be as accessible as possible; that was the biggest source
of my confusion when I started using jEdit was "how do I compile something?", and
people who are just learning how to program will have no idea what a buildfile or
build target is.
|
| 2011-11-27 18:53:29 ezust |
Now that you have added "compile/run project" actions, you have my permission to make
these changes to Console yourself.
|
| 2011-11-27 18:53:29 ezust |
- **assigned_to**: nobody --> kog13 |
| 2011-11-27 19:54:14 jarekczek |
You could also think about windows users and on that platform use .exe extension for executables. |